package com.hansintelligent.rrrmvpframework.view.login.contract;


import com.hansintelligent.rrrmvpframework.base.BaseResponse;
import com.hansintelligent.rrrmvpframework.base.mvp.IView;
import com.hansintelligent.rrrmvpframework.bean.UserInfo;

import io.reactivex.Observable;

/**
 * LoginContract
 * Created by wangfu on 2017/10/20.
 */

public interface LoginContract {

    interface IPresenterContract {
        void login();

    }

    interface IViewContract extends IView {

        void loginSuccess(UserInfo content);
    }

    interface IModelContract {
        Observable<BaseResponse<UserInfo>> login(String code, String psd);
    }

}
